﻿Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema

<Table("Bandeja")>
Public Class Bandeja
    Implements IEntity
    <Key()>
    <DatabaseGenerated(DatabaseGeneratedOption.Identity)>
    Public Property IdBandeja() As Integer

    <StringLength(200)>
    Public Property Tipo() As String

    Public Property Capacidad() As Decimal

    Public Property Costo() As Decimal

    <NotMapped()>
    Public Property ID() As Integer Implements IEntity.ID
        Get
            Return IdBandeja
        End Get
        Set(ByVal value As Integer)
            IdBandeja = value
        End Set
    End Property

End Class
